const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {


      '/zjj': {
        target: 'http://api.qingyunke.com',
        ws: true,
        changeOrigin: true,
        pathRewrite: { //我自己添加，路径重写
          '^/zjj': ''
        },

      },

      '/cgn': {
        target: 'http://120.79.76.59:9002',
        ws: true,
        changeOrigin: true,
        pathRewrite: { //我自己添加，路径重写
          '^/cgn': ''
        },

      },

    }
  }
})
